package com.jumlabs.data.repositories.drive

import com.mongodb.casbah.MongoConnection
import com.mongodb.casbah.commons.MongoDBObject

object Main extends App {
	val mongocon=MongoConnection()
	val things=mongocon("mydb")("things")
	//things.find.foreach(println);
	val newObject=MongoDBObject("nombre"->"otto"
	,"apellido"->"giron")	
	things.insert(newObject);	
	things.find().foreach(println);

}